package com.lyfei.ydc.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lyfei.ydc.domain.entity.OrderSku;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Getter
@Setter
public class OrderVo {
    private Long id;
    private String orderNo;
    private Long userId;
    private BigDecimal totalPrice;
    private Long totalCount;
    private String snapImg;
    private String snapTitle;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expiredTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date placedTime;
    private String snapAddress;
    private String prepayId;
    private BigDecimal finalTotalPrice;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private Date updateTime;

    private OrderAddressVo orderAddress;

    private List<OrderSku> orderSkuList;

    private Long period;

}
